/*
 * fuse.h
 *
 *  Created on: 02/12/2011
 *      Author: utn_so
 */

#ifndef FUSE_H_
#define FUSE_H_

#include <fuse.h>



int fuse_open(const char *path, struct fuse_file_info *fi);
int fuse_read(const char *path, char *buf,size_t size, off_t offset,struct fuse_file_info *fi);
int fuse_write(const char *path, const char *buf, size_t size, off_t offset,struct fuse_file_info *fi);
int fuse_flush(const char *path, struct fuse_file_info *fi);
int fuse_release(const char *path, struct fuse_file_info *fi);
int fuse_truncate(const char *path, off_t newsize);
int fuse_unlink(const char * path);
int fuse_mkdir(const char *path, mode_t mode);
int fuse_create(const char *path,mode_t mode,struct fuse_file_info *fi);
int fuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi);
int fuse_rmdir(const char * path);
int fuse_getattr(const char *path, struct stat *stbuf);
int fuse_rename(const char * path, const char * newpath);



#endif /* FUSE_H_ */
